<?php
return array(
    'controllers' => array(
        'invokables' => array(
            'Album\Controller\Album' => 'Album\Controller\AlbumController',
        		'Album\Controller\Podalbum' => 'Album\Controller\PodalbumController',
        ),
    ),
    'router' => array(
         'routes' => array(
             'album' => array(
                 'type'    => 'segment',
                 'options' => array(
                     'route'    => '/album[/:action][/:id]',
                     'constraints' => array(
                         'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
                         'id'     => '[0-9]+',
                     ),
                     'defaults' => array(
                         'controller' => 'Album\Controller\Album',
                         'action'     => 'index',
                     ),
                 ),
             ),
         	'podalbum' => array(
         			'type'    => 'segment',
         			'options' => array(
         					'route'    => '/podalbum[/:action][/:id]',
         					'constraints' => array(
         							'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
         							'id'     => '[0-9]+',
         					),
         					'defaults' => array(
         							'controller' => 'Album\Controller\Podalbum',
         							'action'     => 'index',
         					),
         			),
         	),
         ),
    	
     ),
		
    'view_manager' => array(
        'template_path_stack' => array(
            'Album' => __DIR__ . '/../view',
        ),
    ),
);
